package com.project.common.constant;

/**
 * constant
 *
 */
public class RedisConstant {
    public class User {
        public static final String USER_LOGIN_TOKEN = "user:login:token:";
        public static final String USER_LOGIN_BID = "user:bid:";
        public static final String USER_SMS_CODE = "user:sms:code";
        public static final String USER_LOGIN_INFO = "user:info:";
        public static final String USER_LOGIN_UID_TOKEN = "user:login:uid_token:";
        public static final String USER_LOGIN_UID_TOKEN_STR = "user:login:uid_token_str:";
    }

    public class WeiXin {
        public static final String WEIXIN_MESSAGE_TOKEN = "weixin:qy_message:token:";
        /**
         * 微信小程序TOKEN
         */
        public static final String WEIXIN_MINI_TOKEN = "weixin:mini:token:info";

        public static final String H5_TOKEN = "weixin:h5:token:";
    }

    /**
     * Redis业务属性分割
     */
    public static final String UNDERLINE = "_";
    public static final String COLON = ":";
    public static final String ASTERISK = "*";
    public static final String V = "_v";

    public static final String LOCK = "lock:";

    /**
     * 字典缓存列表
     */
    public static final String DIC_LIST = "dic:list";

    /**
     * 行业类型列表
     */
    public static final String INDUSTRY_LIST = "industry:list";

    /**
     * 区域列表
     */
    public static final String AREA_LIST = "area:list";
}
